<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ include file="config.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
<script type="text/javascript" src="${ctx}/js/audit.js"></script>
	<link href="${ctx}/css/audit.css" rel="stylesheet"/>
</head>
<body>
	<div class="handler4">	
		<span>订单审核</span><br/><br/>
		<table class="myTable" >
			<tr>
				<td class="td1"><span>订单编号</span></td>
				<td class="td2"><input disabled="disabled" id="oid" value="${adminOrder.id}" /></td>
			</tr>
			<tr>
				<td class="td1"><span>审核状态</span></td>
				<td class="td2">
					<select id="auditState">
						<c:choose>
							<c:when test="${adminOrder.state == 0}">
								<option selected="selected" value="0">未审核</option>
								<option value="-1">未通过</option>
								<option value="1">审核通过</option>
							</c:when>
							<c:when test="${adminOrder.state == -1}">
								<option value="0">未审核</option>
								<option selected="selected" value="-1">未通过</option>
								<option value="1">审核通过</option>
							</c:when>
							<c:otherwise>
								<option value="0">未审核</option>
								<option value="-1">未通过</option>
								<option selected="selected" value="1">审核通过</option>
							</c:otherwise>
						</c:choose>
					</select>
				</td>
			</tr>
			<tr>
				<td class="td1"><span>审核反馈</span></td>
				<td class="td2"><textarea id="feedback" rows="10" cols="50">${adminOrder.feedback}</textarea> </td>
			</tr>
			<tr>
				<td class="td1"><span>审核人</span></td>
				<td class="td2"><input disabled="disabled" id="auditer" value="${AdminId}" /></select></td>
			</tr>
			<tr >
			<td class="td1"></td>
				<td><button id="submit">提交审核</button><button id="reset">重置</button><button onclick="history.back(-1)">返回</button></td>
			</tr>
		</table>
		
	</div>
</body>
</html>